package cn.wolfcode.rbac.util;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class JSONResult {
    //是否操作成功.默认为true
    private boolean success = true;
    //提示信息
    private  String msg;
    public JSONResult mark(String msg){
        this.msg = msg;
        success = false;
        return this;
    }

}
